package edu.zut.hb.software.capiturevictor.achievement.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import edu.zut.hb.software.capiturevictor.achievement.AchievementManager;
import edu.zut.hb.software.capiturevictor.achievement.domain.Achievement;
import edu.zut.hb.software.capiturevictor.base.service.impl.GenericManagerImpl;


@Service
public class AchievementManagerImpl extends GenericManagerImpl<Achievement, Long> implements AchievementManager {
	@Override
	public List<Achievement> findAll(){
		List<Achievement> result = new ArrayList<Achievement>();
		for(int i=0;i<100;i++) {
			Achievement achievement = new Achievement();
			//user.setId((long) i);
			//user.setEntityName("EName_" + Integer.toString(i));
			result.add(achievement);
		}
		return result;
	}
}
